﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UpdateProgressTest.aspx.cs"
    Inherits="AjaxToolkitDemo.UpdateProgressTest" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <style type="text/css">
        
         #UpdateProgress1{
height: 300px;
position: relative;
}
 #UpdateProgress1 div{
position: absolute;
top: 50%;
left: 0;
}
 #UpdateProgress1 div div{
position: relative;
top: -50%;
left: 0;
}  
        
            /*#UpdateProgress1
        {
        margin: 12px auto;
            padding: 0 12px;
            width: 300px;
            text-indent: 0;
            color: inherit;
            background: #ffc;
            line-height: 4em;
            height: 4em;
            overflow: hidden;
            text-align:center; 
        }*/
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    
     <asp:UpdateProgress ID="UpdateProgress1" runat="server">
        <ProgressTemplate>
        <div>
        <div>
            <img src="images/loading.gif" />
            <br />
            处理中...
            </div>
            </div>
        </ProgressTemplate>
    </asp:UpdateProgress>
    <div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" RenderMode="Block">
            <ContentTemplate>
                <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                <asp:Button ID="Button1" runat="server" Text="Submit" />
                <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
            </ContentTemplate>
        </asp:UpdatePanel>
        
    Text<br /> Text<br /> Text<br /> Text<br /> Text<br /> Text<br /> Text<br /> Text<br /> Text<br /> Text<br /> Text<br /> Text<br /> Text<br /> Text<br /> Text<br /> Text<br /> Text<br />
   
    
    </div>
    </form>
</body>
</html>
